package com.mingqijia.gassafety.webserver.response;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *
 * @author wanghai
 * @since 2022-03-11
 */

@Data
@ApiModel(value = "通知详情")
public class WarningRecordDetailResponse {

    @ApiModelProperty(value = "通知开始时间 ")
    private String startTime;

    @ApiModelProperty(value = "通知结束时间")
    private String endTime;

    @ApiModelProperty(value = "报警开始时间")
    private String warningStartTime;

    @ApiModelProperty(value = "触发规则名")
    private String ruleName;


    @ApiModelProperty(value = "设备id")
    private String equipmentId;

    @ApiModelProperty(value = "设备号")
    private String iMEI;

    @ApiModelProperty(value = "设备类型")
    private String equipmentTypeName;

    @ApiModelProperty(value = "设备名称")
    private String equipmentName;

    @ApiModelProperty(value = "设备位置")
    private String installationPosition;

    @ApiModelProperty(value = "安装地址")
    private String installationAddress;

    @ApiModelProperty(value = "安装经度")
    private Double positionLon;

    @ApiModelProperty(value = "安装纬度")
    private Double positionLat;





    @ApiModelProperty(value = "客户名字")
    private String consumerName;

    @ApiModelProperty(value = "所属行业 -字典名称Industry_type")
    private String industryTypeName;

    @ApiModelProperty(value = "地址(详细)")
    private String address;



    @ApiModelProperty(value = "户号")
    private String subsCode;

    @ApiModelProperty(value = "户名")
    private String custName;

    @ApiModelProperty(value = "户址")
    private String custAddress;

    @ApiModelProperty(value = "户主手机号")
    private String custPhone;

    @ApiModelProperty(value = "户主 用户类型")
    private String custType;

    @ApiModelProperty(value = "气户状态")
    private String custStatus;


    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date updatedAt;

    @ApiModelProperty(value = "备注 200字以内")
    private String remark;


    @ApiModelProperty(value = "联系人信息")
    private List<ContactsResponse> contactsResponseList;


    @ApiModelProperty(value = "模板二: VCC用户ID")
    private String memberId;

    @ApiModelProperty(value = "模板二:  电话")
    private String phone;

    @ApiModelProperty("联系人姓名")
    private String contactName;

    @ApiModelProperty("联系人手机号")
    private  String contactPhone;

    @ApiModelProperty("联系人地址")
    private String contactAddress;

    @ApiModelProperty(value = "燃气公司")
    private String companyName;

    @ApiModelProperty(value = "客户地址")
    private String customerAddress;
}
